{% extends 'base.html' %}
{% load static %}
{% block title %}
登录
{% endblock %}
{% block noon %}
    <link rel="stylesheet" href="{% static '' %}">
<script src="{% static 'house/js/login.js' %}"></script>
<div class="login">
	 <div class="container">
			<ol class="breadcrumb">
		  <li><a href="{% url 'house:index' %}">主页面</a></li>
		  <li class="active">登录</li>
		 </ol>
		 <h2>登录</h2>
		 <div class="col-md-6 log">			 
				 <p>欢迎,请登录后继续</p>
				 <form action="{% url 'house:login' %}" method="post">
                     {% csrf_token %}
					 <h5>用户名:</h5>
					 <input type="text" value="" name="account">
                     <span id="spacc"><span class="wrong_type">用户名错误</span></span>
					 <h5>密码:</h5>
					 <input type="password" value="" name="pwd">
                     <span id="pwdcc"><span class="wrong_type">密码错误</span></span>
					 <input type="button" name="submit" value="登录">
                     <span id="spacc" class="wrong_type"></span>
                     <a href="#">忘记密码 ?</a>
				 </form>				 
		 </div>
		  <div class="col-md-6 login-right">
			  	<h3>注册一个新用户</h3>
				<p>如果你还未注册，请注册,本站将提供你最优质的房源</p>
				<a class="acount-btn" href="{% url 'house:regist' %}">注册用户</a>
		 </div>
		 <div class="clearfix"></div>		 
		 
	 </div>
</div>
{% endblock %}
		